<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\ProductSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="product-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'pid') ?>

    <?= $form->field($model, 'type_id') ?>

    <?= $form->field($model, 'name') ?>

    <?= $form->field($model, 'hot') ?>

    <?= $form->field($model, 'market_val') ?>

    <?php // echo $form->field($model, 'cost') ?>

    <?php // echo $form->field($model, 'return_rate') ?>

    <?php // echo $form->field($model, 'start_price') ?>

    <?php // echo $form->field($model, 'scope') ?>

    <?php // echo $form->field($model, 'fee') ?>

    <?php // echo $form->field($model, 'auction') ?>

    <?php // echo $form->field($model, 'lowest_price') ?>

    <?php // echo $form->field($model, 'highest_price') ?>

    <?php // echo $form->field($model, 'actcount') ?>

    <?php // echo $form->field($model, 'reacount') ?>

    <?php // echo $form->field($model, 'can_robot') ?>

    <?php // echo $form->field($model, 'have_cost') ?>

    <?php // echo $form->field($model, 'ios') ?>

    <?php // echo $form->field($model, 'can_give') ?>

    <?php // echo $form->field($model, 'kind') ?>

    <?php // echo $form->field($model, 'can_show') ?>

    <?php // echo $form->field($model, 'state') ?>

    <?php // echo $form->field($model, 'created_at') ?>

    <?php // echo $form->field($model, 'updated_at') ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
